﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace JFnetcore.Models.ViewModel
{
    public class vArticle
    {
        public int Article_id { get; set; }
        /// <summary>
        /// 文章标题
        /// </summary>
        public string Article_name { get; set; }

        /// <summary>
        /// 关键字
        /// </summary>
        public string Article_key { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Article_txt { get; set; }

        /// <summary>
        /// 文章类别名称
        /// </summary>
        public int ArticleType_id { get; set; }
        public string ArticleType_name { get; set; }

        /// <summary>
        /// 发布人ID
        /// </summary>
        public int User_id { get; set; }
        public string User_name { get; set; }

        /// <summary>
        /// 创建时间(当前时间)
        /// </summary>
        public DateTime Article_Createtime { get; set; }

        /// <summary>
        /// (默认否:false) 是否禁用(管理员设置)
        /// </summary>
        public int Article_disable { get; set; }

        /// <summary>
        ///  可空  禁用原因
        /// </summary>
        public string Article_disabledesc { get; set; }

        /// <summary>
        /// 审核管理员ID
        /// </summary>
        public int Admin_Id { get; set; } = 0;

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime Admin_Createtime { get; set; }

        /// <summary>
        /// 审核状态 
        /// 1：提交审核
        /// 2：审核通过
        /// 3：审核失败
        /// 4：再次提交
        /// 5：关闭
        /// </summary>
        public int Admin_step { get; set; }

        /// <summary>
        /// 审核备注
        /// </summary>
        public string Admin_remark { get; set; }
    }
}
